/**
 * ____________________ *
 *  ____ ____ ____ _  _ *
 *  |___ [__] |--< |\/| *
 * ____________________ *
 *
 * THE CORM PROJECT
 *
 * This file may only be used in accordance with the
 * terms of the Academic Free License ("AFL") v. 3.0,
 * as published by the Open Software Initiative.  A
 * copy of this license is provided in this source
 * release, and may be viewed online at:
 *
 * (http://www.opensource.org/licenses/afl-3.0.php)
 */
package org.eremite.corm.inventory;

import org.eremite.corm.Archetype;
import org.eremite.corm.product.ProductInstance;
import org.eremite.corm.product.ProductType;

import java.util.HashSet;
import java.util.Set;

public class InventoryEntry extends Archetype {
    private ProductType productType;
    private Set<ProductInstance> instances = new HashSet<ProductInstance>();

    public ProductType getProductType() {
        return productType;
    }

    public void setProductType(ProductType productType) {
        this.productType = productType;
    }

    public Set<ProductInstance> getInstances() {
        return instances;
    }

    public void setInstances(Set<ProductInstance> instances) {
        this.instances = instances;
    }
}
